package com.mao.crowd.constant;

/**
 * 项目全局的字符常量类
 * @author: Administrator
 * @description:
 * @cteate 2021-05-27-20:27
 */
public class CrowdConstant {

    public static final String ATTR_NAME_TEMPLE_PROJECT = "tempProject";
    public static final String ATTR_NAME_EXCEPTION = "exception";
    public static final String ATTR_NAME_LOGIN_ADMIN = "loginAdmin";
    public static final String ATTR_NAME_LOGIN_MEMBER = "loginMember";
    public static final String ATTR_NAME_PAGE_INFO = "pageInfo";
    public static final String ATTR_NAME_MESSAGE = "message";

    public static final String REDIS_CODE_PREFIX = "REDIS_CODE_PREFIX_";
    public static final String MESSAGE_CODE_NOT_EXISTS = "验证码已过期,请检查手机号是否正确或重新发送";
    public static final String MESSAGE_LOGIN_FAILED = "账号或密码错误,请重新输入";
    public static final String MESSAGE_LOGIN_ACCOUNT_ALREADY_IN_USE = "账号已经被登录了";
    public static final String MESSAGE_ACCESS_FORBIDDEN = "请登录以后再访问";
    public static final String MESSAGE_STRING_INVALIDATE = "字符串为空";
    public static final String MESSAGE_SYSTEM_ERROR_ACCOUNT_NOT_UNIQUE = "存在多个相同账号";
    public static final String MESSAGE_LOGINACCT_DUPLICATED = "账号已被注册";
    public static final String MESSAGE_EDITACCT_DUPLICATED = "账号已被占用";
    public static final String MESSAGE_ACCESS_DENIED = "没有访问权限，请联系管理员";
    public static final String MESSAGE_CODE_INVALID = "验证码错误";
    public static final String MESSAGE_OSS_UPLOAD_FAIL = "图片上传失败";
    public static final String MESSAGE_HEADER_PICTURE_EMPTY = "头图不可为空";
    public static final String MESSAGE_DETAIL_PICTURE_EMPTY = "细节图片不可为空，至少上传一张";
    public static final String MESSAGE_TEMPLE_PROJECT_EMPTY = "project临时项目信息丢失";
    public static final String ATTR_NAME_PORTAL_DATA = "portal_data";
    public static final String ATTR_NAME_PROJECT_DETAIL = "detailProjectVO";
}
